﻿using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelUtil.Entity
{
    public class ClassData
    {
        public ClassData()
        {
            Rows = new List<RowData>();
        }
        public ClassData(string className)
        {
            ClassName = className;
            Rows = new List<RowData>();
        }

        public string ClassName { get; set; }//去重列
        public List<RowData> Rows { get; set; }
    }
    public class RowData
    {
        public RowData()
        {
            Cols = new List<ColData>();
        }
        public int Index { get; set; }
        public List<ColData> Cols { get; set; }
    }
    public class ColData
    {
        public int Col { get; set; }//列
        public string Value { get; set; }//数据
    }
}
